/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author shohdi-user
 */
public class vehicle {
    String make ;
    int numWheels;
    
    public String getMake()
    {
        return make;
    }
    
    public boolean setMake(String newMake)
    {
        if (newMake.length() > 0)
        {
            make = newMake;
            return true;
        }
        else
        {
            return false;
        }
    }
    
    public int getNumWheels ()
    {
        return numWheels;
    }
    
    public boolean setNumWheels (int newNumWheels)
    {
        if (newNumWheels > 0 && newNumWheels < 20)
        {
            
            numWheels = newNumWheels;
            return true;
        }
        else
        {
            return false;
        }
            
    }
    
    
}
